SENTIMENT ANALYSER


Importing the Modules

Importing the Dataset

let's check the shape of the dataframe

let's select the needed columns for our project

change the type of some columns

Picking out the tweet texts

Removing URLs from tweets

Converting all tweets to lowercase

Removing punctuations

Removing stopwords

let's create a big list of words out of all the tweets

put the Cleaned text in main dataframe

Sentiment Analysis

Getting the polarity scores for each tweet

Labeling the scores based on the compound polarity value

let's join two dataframes

Plotting the sentiment score counts